-- GENERATED SPELL FOR [Ice Steppe Bull] --


function spell0_30445(pUnit, Event) --@Rhino Charge,Self--
pUnit:FullCastSpellOnTarget(55193,pUnit)
pUnit:RegisterEvent('Sorts_30445', 10281, 1)
end

function spell1_30445(pUnit, Event) --@Trample,n/a--
pUnit:FullCastSpellOnTarget(51944,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30445', 604, 1)
end

function Sorts_30445(pUnit, Event)
local choix_sorts_30445 = math.random(0, 1)
if choix_sorts_30445 == 0 then
pUnit:RegisterEvent('spell0_30445', 1, 1)
end
if choix_sorts_30445 == 1 then
pUnit:RegisterEvent('spell1_30445', 1, 1)
end
end

function mob30445_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30445', math.random(1500, 3000), 1)
end

function mob30445_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30445_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30445_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30445, 1, 'mob30445_Action')
RegisterUnitEvent(30445, 2, 'mob30445_Leave')
RegisterUnitEvent(30445, 3, 'mob30445_Kill')
RegisterUnitEvent(30445, 4, 'mob30445_Die')
